//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package cn.zyjblogs.starter.common.entity.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(
        description = "状态返回信息"
)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ResponseObject<T> {
    @ApiModelProperty(
            value = "响应结果编码",
            example = "200"
    )
    private int code;
    @ApiModelProperty(
            value = "响应结果信息",
            example = "请求成功"
    )
    private String msg;
    @ApiModelProperty(
            value = "统计列表总数（如果列表存在）",
            example = "10"
    )
    private long count;
    @ApiModelProperty("响应结果数据")
    private T data;
    @ApiModelProperty(
            value = "当前时间戳",
            example = "1630051102895"
    )
    private long timestamp;
}
